$( document ).ready(function() {
 $(".details").hide();
var quadrantA = "PIC3FA";
var PMCube = "PM";
    //headers

    for (var i=12; i>0; i--){
  $("<div />", { "class":"cubeHeader", id:"seat"+i })
     .append($("<div />", {"class":"station", text: quadrantA +i }))
     .appendTo(".perspective");
    }
 
    //stations
    for (var c=1; c<10; c++){
    
    for (var i=12, x=1; i>0,x<13; i--,x++){
  $("<div />", { "class":"cube", id:"seat"+i })
     .append($("<div />", {"class":"station", text: quadrantA +i+ "-" + c }))
      .append($("<div />", {"class":"station", text: $(".workstationSpace"+c).parent(".col-md-12").siblings("#"+quadrantA +i+ "-" + c).text()}))
      .appendTo(".workstationSpace"+c);
  
    }
    
    
    }
    for (var i=29; i>23; i--){
  	  $("<div />", { "class":"pmCubes", id:"seat"+i })
  	     .append($("<div />", {"class":"station", text: PMCube +i }))
  	     .appendTo(".pm");
  	    }
  
    
  
});


  

